// 定义枚举类型
enum Direction {
    UP,
    DOWN,
    LEFT,
    RIGHT
}

const d1: Direction = Direction.DOWN
const d2: Direction = Direction.LEFT
const d3: Direction = Direction.RIGHT
const d4: Direction = Direction.UP
console.log(d1, d2, d3, d4)





